package com.sgb.kjwl.api.service;


import com.sgb.kjwl.BuildConfig;
import com.swgk.core.view.entity.AliProofEntity;
import com.sgb.kjwl.model.entity.LoginEntity;
import com.sgb.link.entity.PickFilterEntity;
import com.sgb.kjwl.model.entity.manage.AliVideoBean;
import com.sgb.kjwl.model.entity.manage.AnnouncementListEntity;
import com.sgb.kjwl.model.entity.manage.CompanyAndDeptEntity;
import com.sgb.kjwl.model.entity.manage.WebsiteBannerEntity;
import com.sgb.kjwl.model.entity.manage.WebsiteConfigureEntity;
import com.sgb.kjwl.model.entity.manage.WebsiteContractEntity;
import com.sgb.kjwl.model.entity.manage.WebsiteMemberEntity;
import com.sgb.kjwl.model.entity.manage.special.CompanyEntity;
import com.sgb.kjwl.model.entity.manage.special.SpecialMemberEntity;
import com.sgb.kjwl.model.entity.website.UploadWebsiteBulletinEntity;
import com.swgk.core.util.PickSelectEntity;
import com.sgb.kjwl.model.entity.manage.CompanyTradesListEntity;
import com.sgb.kjwl.model.entity.manage.GloryHonorAdminEntity;
import com.sgb.kjwl.model.entity.manage.GroupDetailEntity;
import com.sgb.kjwl.model.entity.manage.IPDetailEntity;
import com.sgb.kjwl.model.entity.manage.PromotionalAlbumEntity;
import com.sgb.kjwl.model.entity.manage.UpdataIPDetailEntity;
import com.sgb.kjwl.model.entity.manage.UpdataSpecialQualificationEntity;
import com.sgb.kjwl.model.entity.manage.UserInquiryEntity;
import com.sgb.link.entity.WebSiteAddressEntity;
import com.sgb.kjwl.model.entity.manage.WebsiteInfoEntity;
import com.sgb.kjwl.model.entity.website.WebsiteUpDataJingyingYejiEntity;
import com.swgk.core.base.model.entity.ListResponse;
import com.sgb.member.entity.OperatingResultsEntity;
import com.swgk.core.base.model.entity.BaseEntity;
import com.swgk.core.base.model.factory.BaseUrlInterceptor;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import retrofit2.http.Url;

public interface WebsiteInfoAPI {

    //根据编号获取网站信息
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v2/app/site/siteInfo/getSiteInfo")
    Call<BaseEntity<WebsiteInfoEntity>> getSiteInfo(@QueryMap Map<String, String> map);

    //根据编号获取网站广告页信息
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/site/admin/companyInfo/app/list")
    Call<BaseEntity<ArrayList<WebsiteBannerEntity>>> getWebSiteBanner(@Query("siteNo") String siteNo, @Query("siteType") String siteType);

    //根据编号获取网站会员关系
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/member/getMemberInfo")
    Call<BaseEntity<WebsiteMemberEntity>> getMemberRelation(@Query("companyNo") String companyNo);

    //会员经营-获取审批流程状态
    @Headers({BaseUrlInterceptor.HEADERS_URL_MEMBER, "tokenType:pc"})
    @GET("v1/app/user/member/getProcessStatus")
    Call<BaseEntity<Object>> getProcessStatus(@Query("companyNo") String companyNo, @Query("approveType") String approveType);

    //会员经营首页—会员管理-企业关注的会员-解除会员申请
    @Headers({BaseUrlInterceptor.HEADERS_URL_MEMBER, "tokenType:pc"})
    @GET("v1/app/user/member/relieveMember")
    Call<BaseEntity<BaseEntity>> relieveMember(@Query("no") String companyNo);

    //获取个人网站信息信息
    @GET("v1/app/allSite/getDetail")
    Call<BaseEntity<WebsiteInfoEntity>> getDetail();

    //是否属于当前公司
    @POST("v1/app/site/api/authenticationStatus/isBelongCurrentCompany")
    Call<BaseEntity> isBelongCurrentCompany(@QueryMap Map<String, String> map);

    //是否属于当前团队
    @GET("v1/app/site/admin/teamInfo/isBelongCurrentTeam")
    Call<BaseEntity> isBelongCurrentGroup(@QueryMap Map<String, String> map);

    //用户查询是否关注企业
    @Headers("tokenType:pc")
    @GET
    Call<BaseEntity> getUserFocusCompanyStatus(@Url String url,  @QueryMap Map<String, String> map);


    //用户关注企业
    @Headers({BaseUrlInterceptor.HEADERS_URL_JY, "tokenType:pc"})
    @POST("v2/app/site/siteInfo/userFocusCompany")
    Call<BaseEntity> userFocusCompany(@Body Map map);

    //网站相册列表前台
    @Headers("tokenType:pc")
    @GET
    Call<BaseEntity<ListResponse<List<PromotionalAlbumEntity>>>> getPromotionalAlbumList(@Url String url,@QueryMap Map<String, Object> map);

    //网站相册列表后台
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/site/admin/companyAlbum/listByCompany")
    Call<BaseEntity<ListResponse<List<PromotionalAlbumEntity>>>> getWebsiteAlbumList(@QueryMap Map<String, Object> map);

    //企业相册列表
    @Headers("tokenType:pc")
    @GET()
    Call<BaseEntity<ListResponse<List<PromotionalAlbumEntity>>>> getListCompanyAlbumCompany(@Url String url, @QueryMap Map<String, String> map);

    //网站相册新增
    @POST()
    @Headers("tokenType:pc")
    Call<BaseEntity> addOrUpdateCompanyAlbum(@Url String url, @Body Map<String, Object> map);

    //网站相册删除
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/site/admin/companyAlbum/delete")
    Call<BaseEntity> deleteCompanyAlbum(@Query("id") String id);

    //经营业绩列表
    @GET("v1/app/site/performanceCertificate/findCertificate")
    Call<BaseEntity<ListResponse<List<OperatingResultsEntity>>>> getOperatingResultsList(@QueryMap Map<String, String> map);

    //经营业绩删除
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("v2/app/site/performanceCertificateAdmin/batchDel")
    Call<BaseEntity> getperformanceCertificateAdminBatchDel(@Body String[] map);

    //经营业绩列表
    @Headers("tokenType:pc")
    @POST()
    Call<BaseEntity<ListResponse<List<OperatingResultsEntity>>>> performanceCertificateAdminList(@Url String url, @Body Map<String, String> map);

    //专项资质详情
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/site/admin/companyInfoQualification/detail")
    Call<BaseEntity<UpdataSpecialQualificationEntity>> getSpecialQualificationDetail(@Query("id") String id);

    //专项资质 新增编辑
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("v1/app/site/admin/companyInfoQualification/addOrUpdate")
    Call<BaseEntity<UpdataSpecialQualificationEntity>> getSpecialQualificationAddOrUpdate(@Body Map map);

    //专项资质列表删除
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @DELETE("v1/app/site/admin/companyInfoQualification/delete")
    Call<BaseEntity> getCompanyInfoQualificationDelete(@Query("id") String id);

    //专项资质列表
    @Headers("tokenType:pc")
    @POST()
    Call<BaseEntity<ListResponse<List<UpdataSpecialQualificationEntity>>>> getlistByCompany(@Url String url,@Body Map map);

    //专项资质类型
    @GET("v1/app/companyInfoQualification/getQualifyTypeTreeList")
    Call<BaseEntity<List<PickSelectEntity<List<PickSelectEntity>>>>> getQualifyTypeTreeList();

    //专项资质行业类型
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/industryList")
    Call<BaseEntity<List<PickSelectEntity<List<PickSelectEntity>>>>> industryList();

    //专项资质 ———— 备案单位
    @GET("v1/app/companyInfoQualification/findProvinceRecordUnit")
    Call<BaseEntity<List<PickSelectEntity<List<PickSelectEntity>>>>> findProvinceRecordUnit();

    //经营动态列表
    @Headers("tokenType:pc")
    @POST()
    Call<BaseEntity<ListResponse<List<CompanyTradesListEntity>>>> getCompanyNewsAdminList(@Url String url,@Body Map map);

    //动态类型
    @Headers("tokenType:pc")
    @GET
    Call<BaseEntity<List<PickSelectEntity>>> getDynamicList(@Url String url);

    //经营动态-详情
    @Headers("tokenType:pc")
    @GET
    Call<BaseEntity<CompanyTradesListEntity>> getCompanyNewsAdminDetailById(@Url String url,@Query("id") String id);

    //经营动态-删除
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("v1/app/site/CompanyNewsAdmin/batchDel")
    Call<BaseEntity> getCompanyNewsAdminBatchDel(@Body String[] map);

    //经营动态-新增或着编辑
    @Headers("tokenType:pc")
    @POST()
    Call<BaseEntity> saveCompanyNewsAdminOrUpdate(@Url String url,@Body Map map);

    //荣誉荣耀列表
    @Headers("tokenType:pc")
    @POST()
    Call<BaseEntity<ListResponse<List<GloryHonorAdminEntity>>>> getGloryHonorAdminList(@Url String url,@Body Map map);

    //荣誉荣耀详情
    @GET("v1/app/site/GloryHonorAdmin/getDetailById")
    @Headers("tokenType:pc")
    Call<BaseEntity<GloryHonorAdminEntity>> getGloryHonorAdminDetailById(@Query("id") String id);

    //荣誉荣耀分类
    @GET("v1/app/honor/honorlist")
    Call<BaseEntity<List<PickSelectEntity<List<PickSelectEntity>>>>> getHonorlist();

    //荣誉荣耀行业分类
    @GET("v1/app/intellectualProperty/getAllCategory")
    Call<BaseEntity<List<PickSelectEntity>>> getAllCategory();

    //荣誉荣耀删除
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/site/GloryHonorAdmin/batchDel")
    Call<BaseEntity> getGloryHonorAdminBatchDel(@Query("id") String id);

    //荣誉荣耀添加或编辑
    @POST("v1/app/site/GloryHonorAdmin/saveOrUpdate")
    @Headers("tokenType:pc")
    Call<BaseEntity> gloryHonorAdminsaveOrUpdate(@Body Map map);


    //知识产权列表
    @Headers("tokenType:pc")
    @POST()
    Call<BaseEntity<ListResponse<List<IPDetailEntity>>>> getListByCompany(@Url String url,@Body Map map);

    //知识产权编辑
    @POST("v1/app/site/admin/intellectualPropertyRight/addOrUpdate")
    @Headers("tokenType:pc")
    Call<BaseEntity> addOrUpdate(@Body Map map);

    //知识产权删除
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @DELETE("v1/app/site/admin/intellectualPropertyRight/delete")
    Call<BaseEntity> intellectualPropertyRightDelete(@Query("id") String id);

    //知识产权详情
    @GET()
    @Headers("tokenType:pc")
    Call<BaseEntity<UpdataIPDetailEntity>> getIntellectualPropertydetail(@Url String url,@Query("id") String id);

    //获取商标类型
    @GET("v1/app/intellectualProperty/getTrademarkType")
    Call<BaseEntity<List<PickSelectEntity>>> getTrademarkTypeOptionForShop();

    //获取版权分类选项
    @GET("v1/app/intellectualProperty/getRightType")
    Call<BaseEntity<List<PickSelectEntity>>> getCopyRightTypeOptionForShop();

    //专利-获取行业分类
    @GET("v1/app/comService/typeList")
    Call<BaseEntity<List<PickSelectEntity>>> queryIndustryCategry();

    //获取行业分类
    @GET("v1/app/intellectualProperty/getPatentType")
    Call<BaseEntity<List<PickSelectEntity>>> getPatentTypeOptionForShop();

    //领域分类
    @GET("v1/app/intellectualProperty/getFieldClassifyType")
    Call<BaseEntity<List<PickSelectEntity>>> getFieldClassifyType();

    //专利状态
    @GET("v1/app/intellectualProperty/getPatentStatus")
    Call<BaseEntity<List<PickSelectEntity>>> getPatentStatus();

    //经营业绩添加或修改
    @Headers("tokenType:pc")
    @POST()
    Call<BaseEntity<WebsiteUpDataJingyingYejiEntity>> updateWebsiteJYData(@Url String url,@Body WebsiteUpDataJingyingYejiEntity entity);

    //经营业绩详情
    @Headers("tokenType:pc")
    @GET
    Call<BaseEntity<WebsiteUpDataJingyingYejiEntity>> getYJDetail(@Url String url,@Query("id") String id);

    //获取信息简介-行业分类
    @GET("v1/app/review/getIndustryCategoryAll")
    Call<BaseEntity<List<PickSelectEntity<List<PickSelectEntity>>>>> getIndustryCategoryAll();

    //获取信息简介-企业性质
    @GET("v1/app/review/findEnabledList")
    Call<BaseEntity<List<PickFilterEntity>>> getFindEnabledList();

    //获取信息简介--企业月产量
    @GET("v1/app/groupBuy/findUnitList")
    Call<BaseEntity<List<PickSelectEntity>>> getFindUnitList();

    //获取信息简介-企业管理体系认证
    @GET("v1/app/member/getManageAuthsList")
    Call<BaseEntity<List<PickFilterEntity>>> getManageAuthsList();

    //获取信息简介-企业市场区域
    @GET("v1/app/site/admin/companyInfo/getAllArea")
    Call<BaseEntity<BaseEntity<List<PickFilterEntity<List<PickFilterEntity>>>>>> getMarketArea();

    //获取信息简介-企业经营模式
    @POST("v1/app/comService/getBusinessModel")
    Call<BaseEntity<List<PickFilterEntity>>> getBusinessModel();

    //信息简介-新增/编辑
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("v1/app/site/admin/companyInfo/addOrUpdate")
    Call<BaseEntity> setWebsiteInfo(@Body WebsiteInfoEntity entity);

    //组织信息简介--新增/编辑
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("v2/app/site/siteInfo/modifyOrganizationInfo")
    Call<BaseEntity> setOrganizationInfo(@Body WebsiteInfoEntity entity);

    //信息简介-备案单位
    @GET("v1/app/companyInfoQualification/findProvinceRecordUnit")
    Call<BaseEntity<List<PickFilterEntity<List<PickFilterEntity>>>>> getProvinceRecordUnit();

    //获取视频上传凭证
    @POST("v1/app/collegeV1/userCentreVideoParams")
    Call<BaseEntity<AliProofEntity>> getVideoParams(@Body Map map);

    //个人信息简介-新增/编辑
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER,"tokenType:pc"})
    @POST("v1/app/userInfo/addOrUpdate")
    Call<BaseEntity> allSiteAddOrUpdate(@Body Map map);


    //团队详情
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER,"tokenType:pc"})
    @GET("v1/app/site/admin/teamInfo/getTeamDetail")
    Call<BaseEntity<GroupDetailEntity>> getGroupDetail();

    //团队信息编辑或新增
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER,"tokenType:pc"})
    @POST("v1/app/site/admin/teamInfo/addOrUpdate")
    Call<BaseEntity> addOrUpdateGroupMsg(@Body GroupDetailEntity entity);


    //获取询函类型
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER,"tokenType:pc"})
    @GET("admin/Inquiry/inquiryType")
    Call<BaseEntity<List<PickSelectEntity>>> getAdminInquiry();

    //询函--我发起列表
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER,"tokenType:pc"})
    @GET("admin/Inquiry/myStartList")
    Call<BaseEntity<ListResponse<List<UserInquiryEntity>>>> getMyPostInquiryList(@QueryMap Map<String, Object> map);

    //询函--我收到的列表
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER,"tokenType:pc"})
    @GET("admin/Inquiry/myReciveList")
    Call<BaseEntity<ListResponse<List<UserInquiryEntity>>>> getMyReceiverInquiryList(@QueryMap Map<String, Object> map);

    //发起函询
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER,"tokenType:pc"})
    @POST("admin/Inquiry/add")
    Call<BaseEntity> postInquiry(@Body UserInquiryEntity entity);


    //地址列表查询
    @Headers("tokenType:pc")
    @GET
    Call<BaseEntity<ListResponse<List<WebSiteAddressEntity>>>> getNewUserAddress(@Url String url, @Query("limit") String limit,  @Query("page") int page, @Query("siteType") int siteType);

    //地址管理添加/修改
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("v1/app/site/admin/tbAddressManagement/saveOrUpdate")
    Call<BaseEntity> saveOrUpdateAddress(@Body WebSiteAddressEntity entity);

    //获取企业下一二级公司
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/site/admin/tbAddressManagement/getCompany")
    Call<BaseEntity<BaseEntity<List<CompanyAndDeptEntity>>>> getAddressCompanys();

    //设置默认地址
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/site/admin/tbAddressManagement/setStatus")
    Call<BaseEntity> setDefaultAddress(@Query("id") String id);

    //获取地址详情
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER,"tokenType:pc"})
    @GET("v1/app/site/admin/tbAddressManagement/getDetailById")
    Call<BaseEntity<WebSiteAddressEntity>> getDetailAddressById(@Query("id") String id);

    //批量删除--个人
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER,"tokenType:pc"})
    @POST("v1/app/site/admin/tbAddressManagement/bathDel")
    Call<BaseEntity> bathDel(@Body String[] ids);

    //批量删除--企业
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER,"tokenType:pc"})
    @GET("/v1/app/site/admin/tbAddressManagement/del")
    Call<BaseEntity> companyAddressDel(@Query("id") String ids);

    //公司服务范围
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/site/admin/companyInfo/getFatherClass")
    Call<BaseEntity<List<WebsiteInfoEntity.ServiceAreaEntity>>> getServiceArea();

    //网站配置
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("app/design/getAppWebDesign")
    Call<BaseEntity<WebsiteConfigureEntity>> getWebsiteConfigure(@Body Map<String, Object> map);

    //企业专项--成员受理
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("memberCustomer/acceptanceList")
    Call<BaseEntity<ListResponse<List<SpecialMemberEntity>>>> getSpecialMemberList(@Body Map<String, Object> map);

    //企业专项--成员单位
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("memberCustomer/getMemberList")
    Call<BaseEntity<ListResponse<List<SpecialMemberEntity>>>> getMemberUnitList(@Body Map<String, Object> map);

    //企业专项--邀请成员
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("memberCustomer/inviteList")
    Call<BaseEntity<ListResponse<List<SpecialMemberEntity>>>> getInviteMemberList(@Body Map<String, Object> map);

    //企业专项--成员单位
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("memberCustomer/dissolution/{id}")
    Call<BaseEntity> relieveMemberUnit(@Path("id") int id);

    //邀请成员--提交
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("memberCustomer/saveOrUpdate")
    Call<BaseEntity> inviteMemberPost(@Body Map<String, Object> map);

    //邀请成员--再次邀请
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("memberCustomer/inviteAgain")
    Call<BaseEntity> inviteAgainMemberPost(@Body Map<String, Object> map);

    //全平台搜索公司
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("memberCustomer/findAllCompanyList")
    Call<BaseEntity<ListResponse<List<CompanyEntity>>>> inviteMemberAllList(@Body Map<String, Object> map);

    //判断一级菜单是否有数据=---返回的是没数据的
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("v1/app/api/companyInfo/judgeMenuData")
    Call<BaseEntity<List<Integer>>> judgeFirstMenuData(@Body Map<String, Object> map);

    //判断一级菜单是否有数据=---返回的是没数据的
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("v1/app/api/companyInfo/getSecondMenu")
    Call<BaseEntity<List<PickSelectEntity>>> getWebsiteSecondMenu(@Body Map<String, Object> map);

    //网站建设视频--保存或者更新
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("admin/ShowVideoController/saveOrUpDate")
    Call<BaseEntity> saveOrUpDateWebsiteVideo(@Body Map<String, Object> map);

    //网站建设视频--详情
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("admin/ShowVideoController/detail")
    Call<BaseEntity<AliVideoBean>> getWebsiteVideo(@Body Map<String, Object> map);

    //上传个人-企业-团队-组织logo
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("v1/app/site/admin/companyInfo/uploadLogo")
    Call<BaseEntity> upLoadLogo(@Body Map<String, Object> map);

    //上传个人-企业-团队-组织logo回显
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/site/admin/companyInfo/uploadLogoDetail")
    Call<BaseEntity<WebsiteInfoEntity>> getWebsiteLogo(@QueryMap  Map<String, Object> map);

    //根据网站no 和 type 获取im账号
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/api/companyInfo/getUserInfoByNo")
    Call<BaseEntity<LoginEntity>> getImAccount(@Query("siteNo") String siteNo, @Query("siteType") String siteType);

    //企业网站-投标、竞价-判断是否可邀请
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("v4/app/recruit/whetherInvite")
    Call<BaseEntity> websiteIsEnableInvite(@Body Map<String, Object> map);

    //企业网站-合约列表
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/contract/company/list")
    Call<BaseEntity<ListResponse<List<WebsiteContractEntity>>>> websiteContractList(@Query("companyNo") String companyNo);

    //新增网站公告
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("web/notice/add")
    Call<BaseEntity> addWebsiteBulletin(@Body UploadWebsiteBulletinEntity entity);


    //网站建设-公告管理 后台列表
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("web/notice/list")
    Call<BaseEntity<ListResponse<List<AnnouncementListEntity>>>> getAnnouncementManagement(@Body Map<String, Object> map);

    //网站建设-公告管理 后台列表
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @POST("web/notice/noticeListBySiteInfo")
    Call<BaseEntity<ListResponse<List<AnnouncementListEntity>>>> getAnnouncementList(@Body Map<String, Object> map);

    //网站建设-公告管理 删除
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("web/notice/delete")
    Call<BaseEntity> deleteAnnouncementByNo(@Query("no") String no);

    //获取经营模式
    @Headers({BaseUrlInterceptor.HEADERS_URL_USER, "tokenType:pc"})
    @GET("v1/app/site/admin/companyInfo/getBusinessModule")
    Call<BaseEntity<List<WebsiteInfoEntity.ServiceAreaEntity>>> getBusinessModule(@Query("businessType") int businessType);
    //pcToken暂时使用的url
    class UserCenterUrl{
        //用户查询是否关注企业、团队、个人网站
        public static final String URL_USER_FOCUS_COMPANY_STATUS = BuildConfig.BASE_URL_USER + "v2/app/site/siteInfo/getuserFocusCompanyStatus";

        //用户关注企业、团队、个人网站
        public static final String URL_USER_FOCUS_COMPANY = BuildConfig.BASE_URL_USER + "v2/app/site/siteInfo/userFocusCompany";

        //用户地址列表
        public static final String URL_ADDRESS_LIST = BuildConfig.BASE_URL_USER + "v1/app/user/address/list";

    }
    //网站建设
    class NetBuilderUrl{
        //经营业绩详情
        public static final String YJ_DETAIL = BuildConfig.BASE_URL_USER + "v2/app/site/performanceCertificateAdmin/getDetailById";
        //动态类型
        public static final String DYNAMIC_LIST = BuildConfig.BASE_URL_USER + "v1/app/dynamic/dynamicList";
        //经营动态-详情
        public static final String COMPANY_NEWS_ADMIN_DETAIL_BY_ID = BuildConfig.BASE_URL_USER + "v1/app/site/CompanyNewsAdmin/getDetailById";
        //经营动态-新增或着编辑
        public static final String SAVE_OR_UPDATE = BuildConfig.BASE_URL_USER + "v1/app/site/CompanyNewsAdmin/saveOrUpdate";
        //知识产权详情
        public static final String INTELLECTUAL_PROPERTY_DEAIL = BuildConfig.BASE_URL_USER + "v1/app/site/admin/intellectualPropertyRight/detail";

    }



    class WebsiteUrl{
        public static final String URL_ADD_UPDATE_COMPANY_ALBUM = BuildConfig.BASE_URL_USER + "v1/app/site/admin/companyAlbum/addOrUpdate";

        public static final String URL_ALL_SITE_ALBUM = BuildConfig.BASE_URL_USER + "v1/app/site/api/allSiteAlbum/companyAlbum";

        public static final String URL_SITE_PERFORMANCE_CERTIFICATE = BuildConfig.BASE_URL_USER + "v2/app/site/performanceCertificateAdmin/list";

    }

}
